package com.dq.Service;

import com.dq.Pojo.Homework;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HomeworkService {
    void add(Homework homework);

    void update(Homework homework);

    PageInfo<Homework> findAll(Integer pageNum, Integer pageSize,Integer classId,Integer courseId, String name, String type);

    void delete(Integer id);

    List<Homework> findByid(Integer classid, Integer courseid);

    Homework getByid(Integer id);
}
